package personal.zq.practice.common.constants;

import com.google.common.collect.Lists;
import java.nio.charset.Charset;
import java.util.Date;
import java.util.List;
import personal.zq.practice.common.utils.DateUtil;

public class Constants {

    public static final Long ID_ZERO = 0L;
    public static final Long ZERO = 0L;
    public static final Long TEN = 10L;
    public static final Long TWO_HUNDRED = 200L;
    public static final Long THOUSAND = 1000L;
    public static final String DELETE_FEEDBACK = "该回复已被删除";
    /**
     * 文件目录分隔符
     */
    public static final String SEPARATOR = "/";
    public static final Long PRODUCT_PRESENTATION_CLASS_ID = 0L;
    /**
     * 1. 人管同步字符集
     * 2. 交管响应字符集
     */
    public static final Charset GBK = Charset.forName("GBK");
    /**
     * 训练模块管理字典常量
     */
    public final static String TRAINING_CLASSIFY = "training_classify";
    /**
     * 一层权限菜单父级ID
     */
    public static final Long TOP_MENU_PARENT_ID = -1L;
    /**
     * 小程序一层权限code标志
     */
    public static final String APPLETS_PERMISSION_CODE = "applets";
    /**
     * 统一时间offsetId
     */
    public static final String SYSTEM_TIME_OFFSET_ID = "+8";
    /**
     * 默认pageSize
     */
    public static final int DEFAULT_PAGESIZE = 1000;
    /**
     * 训练模块公共变量--现场演示
     */
    public final static String TRAINING_CLASSIFY_NAME_PRESENTATION = "E展业";
    public final static String TRAINING_CLASSIFY_NAME_VISIT = "约访训练";
    public final static String TRAINING_CLASSIFY_NAME_PRODUCT = "产品介绍";
    public final static String TRAINING_CLASSIFY_NAME_OBJECTION = "异议处理";
    public final static String TRAINING_CLASSIFY_NAME_GREETING = "寒暄破冰";
    /**
     * IDS分隔符
     */
    public static final String IDS_SPILT_PATTERN = "\\|";
    /**
     * 地址更新标识
     */
    public static final int ADDRESS_CORRECTION_0 = 0; // 同步过的地址
    public static final int ADDRESS_CORRECTION_1 = 1; // 管理台更新过的地址
    /**
     * 离职人员指定的角色ID
     * 0x9527
     */
    public static final long LEAVE_ROLE_ID = 1001010100100111L;
    /**
     * 默认时间
     */
    public static final String DEFAULT_TIME = "00:00:00";
    /**
     * 默认时间
     */
    public static final String DEFAULT_TIME_MINUTE = "00:00";
    /**
     * 无效值定义
     */
    public static final String UNDEFINED = "undefined";
    public static final String COACHING_USER_QUERY = "COACHING_USER_QUERY";
    public static final String DAY = "day";
    public static final String WEEK = "week";
    public static final String MONTH = "month";
    /**
     * 晨夕会add 锁
     */
    public static final String CHENXIHUI_ADD = "CHENXIHUI_ADD";
    public static final String UNKNOWN_FINANCIAL_ADD = "UNKNOWN_FINANCIAL_ADD";
    /**
     * 理财经理未知姓名
     */
    public static final String UNKNOWN_FINANCIAL = "未知";
    /**
     * DateMarkService
     */
    public static final String MARK_FORMAT = "cpic:mktg:date:mark:%s";
    /**
     * 资源文件重复校验
     */
    public static final String RESOURCE_VERIFY = "cpic:mktg:resource:verify";
    /**
     * @Author roxulo
     * @Description 默认开始时间
     * @Date 2022/6/16 17:00
     * @param null
     * @return
     **/
    public static final Date DEFAULT_START_TIME = DateUtil.getDate("20000101");
    public static final Date DEFAULT_END_TIME = DateUtil.getDate("20990101");
    /**
     * 浏览次数倍数
     */
    public static final int BROWSE_TIMES = 9;
    /**
     * 判断类银行队伍（redis key）
     */
    public static final String SPECIAL_BANK_ID = "cpic:mktg:biz:special_bank_id";
    /**
     * 上海分公司，苏州分公司，无锡分公司，常州分公司，南京新区中心支公司，南京中心支公司，宁波分公司
     */
    public static final List<String> SPECIAL_BANK_CODE = Lists.newArrayList("00000000000009", "00000000002325", "00000000002326", "00000000002324",
            "14784981247544", "00000000001048", "00000000000012");
    /**
     * 农金队伍月度动作得分系数配置redis key
     */
    public static final String ACTIVITY_ACTION_CONFIG_KEY = "cpic:mktg:biz:rural_financial:activity_action_config:";
    /**
     * 农金队伍动作得分配置redis key
     */
    public static final String ACTIVITY_SCORE_CONFIG_KEY = "cpic:mktg:biz:rural_financial:activity_score_config:";
    /**
     * 农金队伍出勤考核配置redis key
     */
    public static final String ACTIVITY_ATTENDANCE_CONFIG_KEY = "cpic:mktg:biz:rural_financial:activity_attendance_config:";
    /**
     * 农金队伍产出系数配置redis key
     */
    public static final String ACTIVITY_OUTPUT_CONFIG_KEY = "cpic:mktg:biz:rural_financial:activity_output_config:";
    /**
     * 银行队伍产出系数配置redis key
     */
    public static final String BANK_RULE_CONFIG_LOCK_KEY = "cpic:mktg:biz:bank:rule_config:";
    /**
     * 用户打卡轨迹偏离状态 0 偏离 1 未偏离
     */
    public static final byte DEVIATION_STATUS_SIGN = 0;
    /**
     * 客户经理主攻方向
     * 1、金融——大型银行拓展与股份制银行 两个是银行
     * 2、金融——区域银行拓展 是农金
     */
    public static final String AREA_BANK = "金融-区域银行拓展";
    public static final String SHARE_BANK = "金融-股份制银行拓展";
    public static final String LARGE_BANK = "金融-大型银行拓展";
    /**
     * 业务员队伍类型 rural_financial 农金 bank 银行
     */
    public static final String RURAL_FINANCIAL = "rural_financial";
    public static final String BANK = "bank";
    /**
     * 团队角色 团队长（业务部经理）
     */
    public static final String LEADER = "leader";
    /**
     * 团队角色 普通成员
     */
    public static final String MEMBER = "member";
    /**
     * 禁止新保标志
     */
    public static final String PROHIBIT_NEW_INSURANCE = "UQ4";

    private Constants() {
    }
}